import type { RouteRecordRaw } from 'vue-router'
import Layout from '@/views/layout/index.vue'

export const loginModules: RouteRecordRaw = {
  // 登录页
  path: '/login',
  name: 'loginLayout',
  component: Layout,
  redirect: '/login',
  meta: {
    title: '登录'
  },
  children: [
    {
      path: '/login',
      name: 'login',
      component: () => import(/* webpackChunkName: "login" */ '@/views/login/index.vue'),
      meta: {
        title: '登录',
        keepAlive: false
      }
    }
  ]
}
